Xen assumes that an online CPU is a schedualable CPU, but we just are
not there yet. Remove this fragment when scheduling processors
actually works.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
percpu_free_unused_areas();
+ {
+ /* FIXME: Xen assumes that an online CPU is a schedualable
+ * CPU, but we just are not there yet. Remove this fragment when
+ * scheduling processors actually works. */
+ int cpuid;
+
+ printk("WARNING!: Taking all secondary CPUs offline\n");
+
+ for_each_online_cpu(cpuid) {
+ if (cpuid == 0)
+ continue;
+ cpu_clear(cpuid, cpu_online_map);
+ }
+ }
+
initialize_keytable();
/* Register another key that will allow for the the Harware Probe
* to be contacted, this works with RiscWatch probes and should